package com.beijing.cyou.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import com.beijing.cyou.model.SMSBalance;
import com.beijing.cyou.params.SMSParams;

@Repository
public interface SMSBalanceMapper {

	@Select("SELECT * FROM t_sms_balance sb WHERE sb.id = #{id}")
	SMSBalance getSMSInfoById(Long id);

	List<SMSBalance> listSMSInfoByBalance(SMSParams condition);
	
}
